//
//  Listener.m
//  notificationDemo
//
//  Created by zhouxiaobo on 15/10/28.
//  Copyright © 2015年 mapath. All rights reserved.
//

#import "Listener.h"

@implementation Listener

-(void) receiveBroadCast{
    //1.注册广播中心
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(afterReceive:) name:@"fm104.75" object:nil];
}

//收到广播后触发
-(void) afterReceive:(NSNotification *) notification{
    NSLog(@"%@",notification.userInfo);
}

@end
